package com.casstime.ec.cloud.meeting.dao.mapper;

import com.casstime.ec.cloud.meeting.dao.entity.EntityDepartment;
import com.casstime.ec.cloud.meeting.dao.entity.EntityUser;
import com.casstime.ec.cloud.meeting.dao.entity.example.EntityUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface EntityUserMapper {
    long countByExample(EntityUserExample example);

    int deleteByExample(EntityUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(EntityUser record);

    int insertSelective(EntityUser record);

    List<EntityUser> selectByExample(EntityUserExample example);

    EntityUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") EntityUser record, @Param("example") EntityUserExample example);

    int updateByExample(@Param("record") EntityUser record, @Param("example") EntityUserExample example);

    int updateByPrimaryKeySelective(EntityUser record);

    int updateByPrimaryKey(EntityUser record);

    int batchInsert(@Param("list") List<EntityUser> list);

    int batchInsertSelective(@Param("list") List<EntityUser> list, @Param("selective") EntityUser.Column... selective);

    int upsert(EntityUser record);

    int upsertSelective(EntityUser record);


    EntityDepartment getDepartmentByUserId(Integer id);

}